﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BatchList.aspx.cs" Inherits="ARA.WebApp.BatchList" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>批次列表</title>
    <!-- basic styles -->

    <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="assets/css/font-awesome.min.css" />

    <!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->

    <!-- page specific plugin styles -->

    <link rel="stylesheet" href="assets/css/jquery-ui-1.10.3.full.min.css" />

    <!-- ace styles -->

    <link rel="stylesheet" href="assets/css/ace.min.css" />
    <link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
    <link rel="stylesheet" href="assets/css/ace-skins.min.css" />

    <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->

    <script src="assets/js/ace-extra.min.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

    <!--[if lt IE 9]>
		<script src="assets/js/html5shiv.js"></script>
		<script src="assets/js/respond.min.js"></script>
		<![endif]-->
</head>
<body>
    <form id="form1" runat="server">
        <div class="page-content">
            <div>
                <a href="./Upload.aspx" class="btn btn-info btn-sm">上传</a>
            </div>
            <h3 class="header smaller lighter green">批次列表</h3>
            <div class="main-container-inner">
                <table class="table table-striped table-bordered table-hover">
                    <asp:Repeater ID="ctlRepeater" runat="server" EnableViewState="false">
                        <HeaderTemplate>
                            <thead>
                                <tr>
                                    <th>用户名
                                    </th>
                                    <th>创建时间
                                    </th>
                                    <th>描述
                                    </th>
                                    <th>操作
                                    </th>
                                </tr>
                            </thead>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <%#Eval("Creator") %>
                                </td>
                                <td>
                                    <%#Eval("CreatedTime") %>
                                </td>
                                <td>
                                    <%#Eval("Description") %>
                                </td>
                                <td>
                                    <a href="BatchDetail.aspx?batchid=<%#Eval("Id") %>" class="btn btn-info btn-xs">查看
                                    </a>
                                    <a href="AnalyseByDateRange.aspx?batchid=<%#Eval("Id") %>" target="_blank" class="btn btn-info btn-xs">按日期查询
                                    </a>
                                    <a href="AnalyseByPerson.aspx?batchid=<%#Eval("Id") %>" target="_blank" class="btn btn-info btn-xs">按姓名分析
                                    </a>
                                    <a href="AnalyseByDepartment.aspx?batchid=<%#Eval("Id") %>" target="_blank" class="btn btn-info btn-xs">按科室分析
                                    </a>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
        </div>
    </form>
</body>
</html>
